#include "personstats.h"
#include"utils.h"
#include <stdlib.h>

PersonStats::PersonStats()
{
    Hp = rand() % 1000;
    Immunity = rand() % 1000;
    Contagiousness = rand() % 100 - rand() % 100;

    Hp = Utils::clamp(Hp, 200,1000);
    Immunity = Utils::clamp(Immunity,0,1000);
    Contagiousness = Utils::clamp(Contagiousness,-200,200);
}
